package com.yanqu.road.server.manger.kowloon.battle.buff;

import com.yanqu.road.entity.kowloon.enums.battle.eKowloonBuffEffectType;
import com.yanqu.road.server.manger.kowloon.battle.KowloonGame;
import com.yanqu.road.server.manger.kowloon.battle.role.bullet.KowloonBullet;
import com.yanqu.road.server.manger.kowloon.battle.role.enemy.KowloonEnemy;

import java.util.Collections;
import java.util.List;

/**
 * 减速
 */
public class KowloonBuff1 extends KowloonBuff {


    public KowloonBuff1(KowloonGame game, KowloonBullet bullet, KowloonEnemy owner) {
        super(game, bullet, owner);
    }

    @Override
    public List<KowloonBuffEffect> getBuffEffect() {
        return Collections.singletonList(new KowloonBuffEffect(eKowloonBuffEffectType.Speed, this.baseData.getProbability()));
    }
}
